import request from '@/utils/request'

export const ownList = data => {
  return request({
    url: '/user_apply/ownPage',
    method: 'POST',
    data
  })
}

export const allList = data => {
  return request({
    url: '/user_apply/allPage',
    method: 'POST',
    data
  })
}

export const logicDeleteById = id => {
  return request({
    url: `/user_apply/logic/${id}`,
    method: 'DELETE'
  })
}

export const showApply = id => {
  return request({
    url: `/apply_log/apply/${id}`,
    method: 'GET'
  })
}
